﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace IRongs.Wbt.Desktop.UI
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            dataGridPublicLine.ItemsSource = WBList;
        }
        public List<WBItem> WBList
        {
            get
            {
                List<WBItem> list = new List<WBItem>
                {
                    new WBItem{Name="王普", Description="test message from wp"},
                    new WBItem{Name="王普2", Description="test message from wptest message from wptest message from wptest message from wptest message from wp"},
                    new WBItem{Name="王普3", Description="test message from wptest message from wptest message from wptest message from wptest message from wptest message from wp"},
                };

                return list;
            }
        }
    }

    public class WBItem
    {
        public string Name { get; set; }

        public string Description { get; set; }
    }
}
